package com.easylive.annotation;

import com.easylive.entity.enums.MessageTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: yudaxian
 * @DateTime: 2024/12/23 15:08
 * 记录发消息的
 **/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface RecordUserMessage {

    /**
     * 消息类型
     * @return
     */
    MessageTypeEnum messageType();

}
